#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "riskComm.h"


int
main(int argc, char *argv[])
{
    busi_rules_st sBusiRules; 
    int nRet;
    redisContext  *con=NULL ;
    con =  dBConnect();
    if(NULL == con) printf("database connect failed.\n");
    nRet = fn_redisStore(con,"set","rtest","test_data");
    if(nRet != 0) 
        printf("fn_redisStore failed.\n");
    else
        printf("redisStore succeed.\n"); 
  return 0;
}

